package com.itheima.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user")
public class UserController {

    @RequestMapping("/findAll")
    public String findAll(){
        return "该方法为findAll方法";
    }

    @RequestMapping("/insert")
    public String insert(){
        return "该方法为insert方法";
    }

    @RequestMapping("/delete")
    public String delete(){
        return "该方法为delete方法";
    }

    @RequestMapping("/update")
    public String update(){
        return "该方法为update方法";
    }


}
